package net.fdukedom.o3i.protocol;

/**
 *
 * @author duke
 */
public interface ProtocolHandler {

    /**
     * Connects to specified server and tries to log in.
     * 
     * @param host server host
     * @param port server port
     * @param screenName screen name (icq uin, jabber namem, etc.)
     * @param password unencrypted password
     * 
     * @return if connected successfully
     */
    public boolean connect(String host, int port, String screenName, String password);
}
